//
//  ServerController.h
//  ServiceDebianManager
//
//  Created by Léo Lego on 12/05/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class ServicesManager;
@interface ServerController : NSWindowController{
	NSString * host;
	NSString * passwd;
	NSNumber * port;
	ServicesManager * mother;
}

-(id) initWithWindowNibName:(NSString *)windowNibName AndMother:(ServicesManager*) Mother;
@property (readwrite,retain)NSString * host;
@property (readwrite,retain)NSString * passwd;
@property (readwrite,retain)NSNumber * port;
-(NSString*) description;
-(void)loadWithHost:(NSString *)nHost Pass:(NSString *)nPass Port:(NSNumber *)nPort;

@property (weak) IBOutlet NSTextField *hostField;
@property (weak) IBOutlet NSSecureTextField *passwdField;
@property (weak) IBOutlet NSTextField *portField;

@property (unsafe_unretained) IBOutlet NSPanel *panel;
- (IBAction)changeButton:(id)sender;

@end
